package com.crm.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the COMPETITOR database table.
 * 
 */
@Entity
@NamedQuery(name="Competitor.findAll", query="SELECT c FROM Competitor c")
public class Competitor implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(initialValue = 1, allocationSize = 1,name="COMPETITOR_COMID_GENERATOR", sequenceName="SEQ1")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="COMPETITOR_COMID_GENERATOR")
	@Column(name="COM_ID")
	private Long comId;

	@Column(name="CHANCE_ID")
	private BigDecimal chanceId;

	@Column(name="CLIENT_ID")
	private BigDecimal clientId;

	@Column(name="COM_NAME")
	private String comName;

	@Column(name="COM_POWER")
	private String comPower;

	@Column(name="COM_PRICE")
	private BigDecimal comPrice;

	@Column(name="COM_PRODUCT")
	private String comProduct;

	@Column(name="COMPETITOR_IS_DEL")
	private String competitorIsDel;

	private String coping;

	private String remarks;


	public Competitor() {
	}

	public Long getComId() {
		return this.comId;
	}

	public void setComId(Long comId) {
		this.comId = comId;
	}

	public BigDecimal getChanceId() {
		return this.chanceId;
	}

	public void setChanceId(BigDecimal chanceId) {
		this.chanceId = chanceId;
	}

	public BigDecimal getClientId() {
		return this.clientId;
	}

	public void setClientId(BigDecimal clientId) {
		this.clientId = clientId;
	}

	public String getComName() {
		return this.comName;
	}

	public void setComName(String comName) {
		this.comName = comName;
	}

	public String getComPower() {
		return this.comPower;
	}

	public void setComPower(String comPower) {
		this.comPower = comPower;
	}

	public BigDecimal getComPrice() {
		return this.comPrice;
	}

	public void setComPrice(BigDecimal comPrice) {
		this.comPrice = comPrice;
	}

	public String getComProduct() {
		return this.comProduct;
	}

	public void setComProduct(String comProduct) {
		this.comProduct = comProduct;
	}

	public String getCompetitorIsDel() {
		return this.competitorIsDel;
	}

	public void setCompetitorIsDel(String competitorIsDel) {
		this.competitorIsDel = competitorIsDel;
	}

	public String getCoping() {
		return this.coping;
	}

	public void setCoping(String coping) {
		this.coping = coping;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

}